#pragma once

#include "app.hpp"
#include "menu.hpp"


TimeType task_update_storage();

size_t load_from_storage(MenuItem *items, uint8_t count);

size_t save_to_storage(MenuItem *items, uint8_t count);

// TODO: load, save_menu_data, 至少需要存储index 和data 项的数据